<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 167px;
            height: 191px;
            background: url(./img/robot.png) no-repeat;
            position: absolute;
            top: 100px;
            left: 50px;
            animation: move 10s linear infinite;
        }

        @keyframes move {
            0% {
                transform: rotateY(0deg);
            }

            49% {
                transform: rotateY(0deg);
            }

            50% {
                transform: rotateY(180deg);
                left: 800px;
            }

            100% {
                left: 0;
                transform: rotateY(180deg);
            }
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>